package com.qckj.amz.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qckj.common.annotation.Excel;
import com.qckj.common.core.domain.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * 翻译工具对象 t_personal_translate
 *
 * @author luchuan
 * @since 1.0 2022-07-28
 */
@Entity
@Table(name = "t_personal_translate")
@Data
public class PersonalTranslate extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
    @Column(name="id")
    private Long id;

    /** 翻译工具 */
    @Excel(name = "翻译工具")
    @Column(name="translate_tools_type")
    private String translateToolsType;

    /** 单词翻译最大字符数 */
    @Excel(name = "单词翻译最大字符数")
    @Column(name="translate_one_max_char_num")
    private Long translateOneMaxCharNum;

    /** 月翻译最大字符数 */
    @Excel(name = "月翻译最大字符数")
    @Column(name="translate_month_max_char_num")
    private Long translateMonthMaxCharNum;

    /** 月翻译合计字符数 */
    @Excel(name = "月翻译合计字符数")
    @Column(name="translate_month_total_char_num")
    private Long translateMonthTotalCharNum;

    /** APPID */
    @Excel(name = "APPID")
    @Column(name="appid")
    private String appid;

    /** 密钥 */
    @Excel(name = "密钥")
    @Column(name="security_key")
    private String securityKey;

    /** 状态 */
    @Excel(name = "状态")
    @Column(name="status")
    private String status;

    /** 创建人 */
    @Excel(name = "部门编号")
    @Column(name="dept_id")
    private Long deptId;

    /** 排序 */
    @Excel(name = "排序")
    @Column(name="translate_sort")
    private String translateSort;

    /** 创建人 */
    @Excel(name = "创建人")
    @Column(name="create_by")
    private String createBy;

    /** 创建时间 */
    @Column(name="create_time")
    private Date createTime;

    /** 更新人 */
    @Excel(name = "更新人")
    @Column(name="update_by")
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="update_time")
    private Date updateTime;

    /** 备注 */
    @Excel(name = "备注")
    @Column(name="remark")
    private String remark;


}
